package de.szut.sudoku.gui.menu;

import javax.swing.JMenu;
import javax.swing.JMenuItem;

import de.szut.sudoku.gui.MainFrame;

/**
 * Options sub menu
 * 
 * @author dqi12huisinga
 * 
 */
@SuppressWarnings("serial")
public class OptionsSubMenu extends JMenu {
	public OptionsSubMenu() {
		// registers the submenu as translatable component
		MainFrame.getInstance().getlContainer()
				.addTranslatableComponent("gui.menu.OptionsSubMenu", this);
		// generates the sub-sub menus
		JMenuItem difficulty = new OptionsDifficultySubMenu();
		add(difficulty);
		JMenuItem language = new OptionsLanguageSubMenu();
		add(language);
	}
}
